package com.link_with_health.mapper;

import com.link_with_health.model.InquiryEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface InquiryMapper {
    InquiryEntity queryInquiryById(Long caseId);
    List<InquiryEntity> queryInquiryByPatientId(Long patient);
    List<InquiryEntity> queryInquiryByDrId(Long DrId);
    List<InquiryEntity> queryInquiryByUserId(Long userId);
    List<InquiryEntity> queryAllInquiry();
    int updateInquiry(InquiryEntity inquiry);
    int insertInquiry(InquiryEntity inquiry);
    int deleteInquiry(Long caseId);
}
